package com.xdf.zipperdye.service;

import com.xdf.zipperdye.model.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductService {
    int deleteByPrimaryKey(Integer iid);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> selectAll();
    List<Product> selectBySid(@Param("sid") String sid);

    Boolean isExists(String sid);
}
